package core.query;

import java.io.Serializable;

/**
 * 从页面传递的查询规则
 * 
 * @author 张雨舟
 * 
 */
public class QueryRule implements Serializable {
	private static final long serialVersionUID = 8366871017522414509L;

	/**
	 * 查询字段
	 */
	private String field;

	/**
	 * 查询运算符
	 */
	private String op;

	/**
	 * 查询值
	 */
	private Object data;

	public String getField() {
		return field;
	}

	public void setField(String field) {
		this.field = field;
	}

	public String getOp() {
		return op;
	}

	public void setOp(String op) {
		this.op = op;
	}

	public Object getData() {
		return data;
	}

	public void setData(Object data) {
		this.data = data;
	}
}
